import sys
from symbol import Symbol, SymbolType

class Operator(Symbol):

    __value = ''
    __name = ''

    def __init__(self, priority, value, name):
        super().__init__(priority)
        self.__value = value
        self.__name = name

    def getType(self):
        return SymbolType.OPERATOR

    def getValue(self):
        return self.__name

    @staticmethod
    def plus():
        return Operator(1, 1, "+")

def main(argv):
    operator = Operator.plus()
    print(operator.getType())
    print(operator.getValue())

if __name__ == "__main__":
    main(sys.argv)